package com.zmn.oms.zmn.business.interfaces.log;

import com.zmn.oms.model.entity.log.FacadeTrackLog;

import java.util.Date;
import java.util.List;

/**
 * 类描述：渠道监控日志BService
 *
 * @author lhl
 * @date 2020-11-26 21:33:25
 */
public interface FacadeTrackLogBService {

    /**
     * 保存
     * @param facadeTrackLog
     */
    void save(FacadeTrackLog facadeTrackLog);

    /**
     * 查询订单的所有同步日志
     * @param facadeId
     * @param startTime 开始时间
     * @return
     */
    List<FacadeTrackLog> listByFacadeId(int facadeId, Date startTime);

    /**
     * 查询订单的所有同步日志
     * @return
     */
    List<FacadeTrackLog> listByOrderId(Long orderId);

}
